package QuickPALM;

import ij.Prefs;

/**
 * 
 * @author linshan
 *
 */
public class AOTFController {

	static
	{
//		System.load(Prefs.getHomeDir() + "\\lib\\dll\\AOTFController.dll");
//		try{
			//System.load("E:\\ProgramSpace\\hk-ust\\workspace\\ImageJ\\lib\\dll\\AOTFController.dll");
//		}catch(Exception e){
//			e.printStackTrace();
//		}
	}
	
	public native boolean Open();
	
	public native boolean Close();
	
	public native boolean Write(String command);
	
	// public native boolean Read(String data, int bytes);
	
	// public native boolean IsReadDataAvailable();
	
	public native boolean IsOpen();
	
}
